package com.shardingsphere.examples.app;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude =DruidDataSourceAutoConfigure.class)
@MapperScan({"com.shardingsphere.examples.mapper"})
@ComponentScan("com.shardingsphere.examples")
public class MasterSlaveApplication {


    public static void main(String[] args) {
        SpringApplication.run(MasterSlaveApplication.class, args);
    }
}
